package com.zone.mybatis.datasource.pooled;

import java.util.ArrayList;
import java.util.List;

/**
 * @author: zongzi
 * @description: TODO
 * @date: 2023/12/26
 */
public class PooledState {

    private final List<PooledConnection> idleConnections = new ArrayList<>();
    private final List<PooledConnection> activeConnections = new ArrayList<>();

    public List<PooledConnection> getIdleConnections() {
        return idleConnections;
    }

    public List<PooledConnection> getActiveConnections() {
        return activeConnections;
    }
}
